Return

Edit Task: RecurringConstraints

Description

The RecurringConstraints attribute under EditTask defines the interval constraints for recurring tasks.

Parameters

ParameterDescription
MinAfterTypeOptions are either "Start", "Stop", and "None". Required
MinTimeAfterA number in seconds (millisecond fidelity) of the minimum time between intervals of the recurring task. Required if MinAfterType is not None
MaxAfterTypeOptions are either "Start", "Stop", and "None". Required
MaxTimeAfterA number in seconds (millisecond fidelity) of the minimum time between intervals of the recurring task. Required if MaxAfterType is not None

Examples

Set the recurring constraint so that the next assignment must occur 3700s after the start of the previous one

PATCH api/task/TaskA

Body:

{

"RecurringConstraints" : {

"MinAfterType" : "Start",

"MinTimeAfter" : "3700",

"MinAfterType" : "Stop",

"MinTimeAfter" : "0" }

}